VEE Object Library

Vers:   A.00.00                                             25 Jan 1999

========================================================================
A.00.00                                                       M.J.Watts

25 Jan 1999 This is a utility to enable some object-like qualities when
making VEE programs.


DISCLAIMER, WARRANTY AND COPYRIGHT
This example is provided on an 'as is' basis with no explicit or implied
warranty.  Copyright is retained by the author but free use including
copying, modifying and use for business purposes is expressly permitted.
========================================================================

Properties
==========
public:
VEEObjectLibrary.ObjectList (note the object name here is fixed).  The
ObjectList keeps a track of objects created.


Methods
=======
public:
createLibrary
-------------
Unlike its object companions, this method requires no parameters but
does do the same job as their createObject methods, setting up global
variables etc.

deleteLibrary
-------------
Ditto createLibrary for deleteObject.

void new text <ObjectName>,text <ClassName>
-------------------------------------------
inputs  ObjectName      name give to the object by the calling entity
        ClassName       name of the class ( blueprint ) for the object

First checks if the class file exists in either .vee or .vxe format.  If
so creates a new object by importing the object library file and then
invoking its own CreateObject method.  It checks for the name in the
VEEObjectLibrary.ObjectList before adding it to that list.

delete <objectname>
-------------------
Calls the object's deleteObject method and then deletes the object
by removing its global variable, deleting its library and then
erases the object's name from the ObjectList.

removeFromArray <text array>,<string element to remove>
-------------------------------------------------------
Used to remove an element from a text array.


private:
addToList <objectname>
----------------------
Checks the global variable ObjectList and gives an error if the object
already exists.  If not the <objectname> is added.



(c) Michael J. Watts Consultant 1999
